<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>upload</title>
</head>
<body>

	<div class="wrapper">
		<div class="row">
			<C:if test="${not empty message}">
				<div id="message"><p>${message}</p></div>
			</C:if>
		</div>
		<form:form method="post" action="${pageContext.request.contextPath}/upload" enctype="mulitpart/form-data" >
			<div>
				<label>文件上传</label>
				<input type="file" name="file" id="file">
			</div>
			<div>
				<button type="submit">upload</button>
			</div>
		</form:form>
	</div>


</body>
</html>